for i in $*
do
    if [ -h $i ] ;
    then echo "copying $i to local disk ..."
        cp $i $i.tmp
        rm -f $i
        mv $i.tmp $i
        chmod +w $i
    fi
done
